package com.zhz.model.system;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zhz.common.tool.mybatisplus.base.dal.annotation.BizKey;
import com.zhz.common.tool.mybatisplus.base.dal.entity.BasePO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 按钮权限
 * @author zhouhengzhe
 * @date 2023/3/21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "pe_permission_point")
public class PermissionPoint extends BasePO {
    /**
     * 权限id
     */
    @BizKey
    @TableField(PID)
    private String pid;
    /**
     * 按钮类型
     */
    @TableField(POINT_CLASS)
    private String pointClass;

    /**
     * 按钮icon
     */
    @TableField(POINT_ICON)
    private String pointIcon;

    /**
     * 状态
     */
    @TableField(POINT_STATUS)
    private Integer pointStatus;

    public static final String PID = "pid";
    public static final String POINT_CLASS = "point_class";

    public static final String POINT_ICON = "point_icon";

    public static final String POINT_STATUS = "point_status";
}